Skip to content

feature/CU 86c57xgjy Support for Landing Zones in meshStack Terraform Provider#55

Merged
nroi merged 13 commits intomainfrom
feature/CU-86c57xgjy_Support-for-Landing-Zones-in-meshStack-Terraform-Provider
Sep 23, 2025
Merged

feature/CU 86c57xgjy Support for Landing Zones in meshStack Terraform Provider#55
nroi merged 13 commits intomainfrom
feature/CU-86c57xgjy_Support-for-Landing-Zones-in-meshStack-Terraform-Provider

Conversation

@nroi
Copy link
Contributor

@nroi nroi commented Sep 16, 2025

  • chore: add terraform-provider-meshstack to .gitignore
  • feat: support meshLandingZones

@nroi nroi force-pushed the feature/CU-86c57xgjy_Support-for-Landing-Zones-in-meshStack-Terraform-Provider branch 16 times, most recently from 97f95b3 to a4dec3a Compare September 18, 2025 14:05
@nroi nroi marked this pull request as ready for review September 18, 2025 14:09
@nroi nroi requested a review from Copilot September 18, 2025 14:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for landing zones in the meshStack Terraform provider by introducing comprehensive CRUD operations for managing landing zones across multiple cloud platforms. The implementation follows the existing provider patterns and provides both resource and data source capabilities.

  • Adds new meshstack_landingzone resource and data source with full CRUD support
  • Implements platform-specific configurations for AWS, Azure, GCP, Kubernetes, OpenShift, and AKS
  • Includes comprehensive documentation and example configurations

Reviewed Changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
internal/provider/provider.go Registers new landing zone resource and data source with the provider
internal/provider/landingzone_resource.go Implements the landing zone resource with complex platform-specific schema definitions
internal/provider/landingzone_data_source.go Implements the landing zone data source for reading existing landing zones
client/landingzone.go Adds HTTP client methods for landing zone CRUD operations
client/client.go Adds landing zone endpoint configuration to the client
client/*.go Defines platform-specific property structs for different cloud platforms
examples/ Provides usage examples for both resource and data source
docs/ Auto-generated documentation for the new landing zone functionality
Comments suppressed due to low confidence (2)

internal/provider/landingzone_data_source.go:1

  • The platform type field is marked as Required in a data source schema, but data sources should only have Computed fields for output values. This should be Computed: true instead of Required: true.
package provider

internal/provider/landingzone_data_source.go:1

  • The platform_ref attribute is missing from the data source schema definition, but it's referenced in the documentation. This will cause the data source to fail when trying to read landing zones that have platform references.
package provider

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@nroi nroi requested a review from henryde September 18, 2025 14:14
@nroi nroi force-pushed the feature/CU-86c57xgjy_Support-for-Landing-Zones-in-meshStack-Terraform-Provider branch 2 times, most recently from 14795a0 to d8aae3a Compare September 18, 2025 14:22
@nroi nroi force-pushed the feature/CU-86c57xgjy_Support-for-Landing-Zones-in-meshStack-Terraform-Provider branch from d8aae3a to 8767363 Compare September 19, 2025 12:04
@nroi nroi requested a review from henryde September 19, 2025 14:53
@nroi nroi merged commit c5d8aba into main Sep 23, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants